home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 November / PCWNOV07.iso / Software / Trial / AceHTML Pro 6.6 / acehtml6pro.exe / scriptdef / Browser Redirection.sd < prev    next >
Encoding:
INI File  |  2006-09-13  |  653 b   |  38 lines

  1. [SUBJECT]
  2. Description=Sends the right browser to the right browser-optimized page
  3. ImageIndex=-1
  4. Folder=Tools
  5.  
  6.  
  7. [BODY_TEXT]
  8. ;
  9. ;<div align="center">
  10. ;<script language="JavaScript">
  11. ;
  12. ;<!-- Begin
  13. ;var name = navigator.appName;
  14. ; if (name == "Microsoft Internet Explorer")
  15. ;url=("`IE_URL`");
  16. ;else
  17. ;url=("`NETSCAPE_URL`");
  18. ;document.write('<a href="' + url + '">Enter</a>');
  19. ;
  20. ;// You may make the redirection automatic by using this line
  21. ;// window.location=url;   instead of the document.write above
  22. ;
  23. ;// End -->
  24. ;</script>
  25. ;</div>
  26. ;
  27.  
  28.  
  29. [`IE_URL`]
  30. Kind=S
  31. Value=MSIE.html
  32.  
  33.  
  34. [`NETSCAPE_URL`]
  35. Kind=S
  36. Value=Netscape.html
  37.  
  38.